//
//  YAToast.m
//  YASDK
//
//  Created by 郑逸凯 on 2018/10/29.
//  Copyright © 2018年 郑逸凯. All rights reserved.
//

#import "YAToast.h"
#import "MBProgressHUD+Show.h"

@implementation YAToast

+ (MBProgressHUD *)showTouchableTipMessageInWindow:(NSString*)message {
    return [MBProgressHUD showTipMessageInWindow:(NSString*)message touchable:YES];
}
+ (MBProgressHUD *)showTouchableTipMessageInView:(NSString*)message {
    return [MBProgressHUD showTipMessageInView:(NSString*)message touchable:YES];
}
+ (MBProgressHUD *)showTouchableTipMessageInWindow:(NSString*)message timer:(int)aTimer {
    return [MBProgressHUD showTipMessageInWindow:(NSString*)message timer:(int)aTimer touchable:YES];
}
+ (MBProgressHUD *)showTouchableTipMessageInView:(NSString*)message timer:(int)aTimer {
    return [MBProgressHUD showTipMessageInView:(NSString*)message timer:(int)aTimer touchable:YES];
}

+ (MBProgressHUD *)showTipMessageInWindow:(NSString*)message {
    return [MBProgressHUD showTipMessageInWindow:(NSString*)message touchable:NO];
}
+ (MBProgressHUD *)showTipMessageInView:(NSString*)message {
    return [MBProgressHUD showTipMessageInView:(NSString*)message touchable:NO];
}
+ (MBProgressHUD *)showTipMessageInWindow:(NSString*)message timer:(int)aTimer {
    return [MBProgressHUD showTipMessageInWindow:(NSString*)message timer:(int)aTimer touchable:NO];
}
+ (MBProgressHUD *)showTipMessageInView:(NSString*)message timer:(int)aTimer {
    return [MBProgressHUD showTipMessageInView:(NSString*)message timer:(int)aTimer touchable:NO];
}

+ (MBProgressHUD *)showActivityMessageInWindow:(NSString*)message {
    return [MBProgressHUD showActivityMessageInWindow:(NSString*)message];
}
+ (MBProgressHUD *)showActivityMessageInView:(NSString*)message {
    return [MBProgressHUD showActivityMessageInView:(NSString*)message];
}
+ (MBProgressHUD *)showActivityMessageInWindow:(NSString*)message timer:(int)aTimer {
    return [MBProgressHUD showActivityMessageInWindow:(NSString*)message timer:(int)aTimer];
}
+ (MBProgressHUD *)showActivityMessageInView:(NSString*)message timer:(int)aTimer {
    return [MBProgressHUD showActivityMessageInView:(NSString*)message timer:(int)aTimer];
}

+ (MBProgressHUD *)showSuccessMessage:(NSString *)Message  {
    return [MBProgressHUD showSuccessMessage:(NSString *)Message];
}
+ (MBProgressHUD *)showErrorMessage:(NSString *)Message {
    return [MBProgressHUD showErrorMessage:(NSString *)Message];
}
+ (MBProgressHUD *)showInfoMessage:(NSString *)Message {
    return [MBProgressHUD showInfoMessage:(NSString *)Message];
}
+ (MBProgressHUD *)showWarnMessage:(NSString *)Message {
    return [MBProgressHUD showWarnMessage:(NSString *)Message];
}


+ (MBProgressHUD *)showCustomIconInWindow:(NSString *)iconName message:(NSString *)message {
    return [MBProgressHUD showCustomIconInWindow:(NSString *)iconName message:(NSString *)message];
}
+ (MBProgressHUD *)showCustomIconInView:(NSString *)iconName message:(NSString *)message {
    return [MBProgressHUD showCustomIconInView:(NSString *)iconName message:(NSString *)message];
}


+ (void)hideHUD {
    [MBProgressHUD hideHUD];
}


@end
